<include file="Admin/header"/>
<div class="content">
    <div id="gd_page_list">
        <div class="content_table mt10 mb10" style="clear:both;">
            <table class="mb10" style="font-size: 14px;">
                <tbody>
                    <tr style="background: none repeat scroll 0% 0% rgb(232, 249, 255);">
                        <th width="10%">序号</th>
                        <th>姓名</th>
                        <th>微信昵称</th>
                        <th>openid</th>
                        <th>首次参与时间</th>
                        <th>支持梦想数</th>
                        <th>操作</th>
                    </tr>
                <notempty name="_list">
                    <volist name="_list" id="vo" key="k">
                        <tr>
                            <td>{$index_num + 1 + $key}</td>
                            <td>{$vo.weixin_name}</td>
                            <td>{$vo.brower_name}</td>
                            <td>{$vo.open_id}</td>
                            <td>{$vo.create_date|date="Y-m-d H:i:s",###}</td>
                            <td>{$vo.support_count}</td>
                            <td>	
                                <a class="delete_button" href="/Admin/doDeleteSupport/id/{$vo.suport_user_id}.html">删除</a>
                            </td>
                        </tr>
                    </volist>
                    <else/>
                    <tr>
                        <th colspan="7" class="taskStatus">暂无数据</th>
                    </tr>
                </notempty>
                </tbody>
            </table>
        </div>
        <div class="manu" id="ajax_page_end">{$_page}</div>
    </div>
    <input id="export_button" type="button" value="导出表格" class="btn">
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $('.delete_button').click(function () {
            if (confirm('确认删除该参与者极其所有支持信息？')) {
                return true;
            } else {
                return false;
            }
        });
        $('#export_button').click(function() {
            window.location.href = '/Admin/doExportExcel.html';
        });
    });
</script>
<script type="text/javascript" src="__PUBLIC__/Home/js/tr.js"></script>
